package com.example.tests;

import org.testng.annotations.Test;

public class ContactModificationTests extends TestBase {
		
		@Test
		public void modifySomeContact() {
			app.getNavigationHelper().openMainPage();
	        app.getContactHelper().initContactModification(1);
	        ContactData contact = new ContactData();
	        contact.firstName = "NewFirstName";
	        contact.lastName = "NewLastName";
	        app.getContactHelper().fillContactName(contact);
	        //app.getContactHelper().fillContactCreationForm(contact); - it does not work, why?
	        app.getContactHelper().submitUpdate();
	        app.getContactHelper().returntoHomePage();
		}

}
